package com.wangyonghui.attendanceserver.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wangyonghui.attendanceserver.entity.Emp;
import com.wangyonghui.attendanceserver.entity.vo.EmpVO;
import com.wangyonghui.attendanceserver.mapper.EmpMapper;
import com.wangyonghui.attendanceserver.service.IEmpService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wangyonghui
 * @since 2020-03-29
 */
@Service
public class EmpServiceImpl extends ServiceImpl<EmpMapper, Emp> implements IEmpService {

    @Resource
    private EmpMapper empMapper;

    @Override
    public IPage<Emp> selectPageVo(Page<Emp> page, EmpVO empVO) {
        return empMapper.selectPageVo(page,empVO);
    }
}
